import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/meeting/addOrSave',
    method: 'post',
    data
  })
}
export function del(ids) {
    return request({
      url: 'api/meeting/batchRemove',
      method: 'post',
      data: ids
    })
  }

export function exportDe(data) {
  const obj = {
    url: 'api/meeting/export',
    method: 'post',
    data,
    responseType: 'blob'
  }
  return request(obj)
}
export default { add, del }
